<template>
  <div class="boxactivity">
    <div class="boxactivityhead">
      <div class="boxactivityhead1">
        <dl>
          <dd>热门活动</dd>
        </dl>
      </div>
    </div>
    <div class="boxactivitymain">
      <dl>
        <dd><div id="double11">
          <h3 style="font-size: 28px">realme 11.11</h3>
          <p style="font-size: 20px">狂欢补贴八亿 预定至高省500 享六期免息</p>
        </div></dd>
        <dd><div id="main">
          <h3 style="font-size: 24px">真我GT Neo2T新品首发</h3>
          <p>后生无畏</p>
        </div></dd>
        <dd><div id="new">
          <h3 style="color: #FFFFFF">真我QS3 首发</h3>
          <p style="color: #FFFFFF">144HZ变频赫兹 硬屏芯生</p>
        </div>
        </dd>
        <dd>
          <div id="Realmewatch">
            <h3 style="font-size: 28px">真我手表T1 新品首发</h3>
            <p > 运动通话手表 腕上新潮流</p>
          </div>

        </dd>
      </dl>
    </div>
  </div>
</template>
<script>
import axios from 'axios';
export default {
  name: "boxactivity",
  data() {
    return {
      dataList: {}
    }
  },
  created() {
    this.getData()
  },
  methods: {
    getData() {
      axios.get('http://192.168.3.89:8081/goods/allGoods').then( res => {
          console.log(res)
          if(res.data.code === 200) {
            this.dataList = res.data.dataList
          }
      })
    }
  }
}
</script>

<style scoped>

</style>
<style src="../../assets/CSS/Main.css"></style>